package com.zzyl.mapper;


import com.github.pagehelper.Page;
import com.zzyl.dto.RoleDto;
import com.zzyl.entity.Role;
import com.zzyl.vo.RoleVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoleMapper {


    Page<Role> selectRolePage(RoleDto roleDto);

    void insert(Role role);

    void deleteRole(List<String> list);

    void updateRole(Role role);

    List<Role> initRoleAll();

    List<RoleVo> findRoleByUserIds(List<Long> list);
}
